<?php
/**
 * @package    Joomla! Indescon Membership
 * @subpackage Components
 * components/com_members/views/view.html.php
 * @link http://www.indescon.org
 * @license    GNU/GPL
*/

defined( '_JEXEC' ) or die( 'Restricted access' );
 
jimport( 'joomla.application.component.view');
 
/**
 * HTML View class for the HelloWorld Component
 *
 * @package    HelloWorld
 */

class MembersViewMembers extends JView
{
    function display($tpl = null)
    {
//         $greeting = "Hello World!";
        $model    =& $this->getModel();
        $members  =  $model->get_members();

        $this->assign( 'members', $members );
        $this->assign( 'greeting', "Guten Tag, den Welt!" );

        parent::display($tpl);
    }
}
?>